package com.base.service;

import com.base.po.creditcard.CreditCardBank;
import com.base.po.creditcard.CreditCardBankExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CreditCardBankService {
    int countByExample(CreditCardBankExample example);

    int deleteByExample(CreditCardBankExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CreditCardBank record);

    int insertSelective(CreditCardBank record);

    List<CreditCardBank> selectByExample(CreditCardBankExample example);

    List<CreditCardBank> selectAll();

    CreditCardBank selectByPrimaryKey(Integer id);

    CreditCardBank selectByBankId(String bankid);

    int updateByExampleSelective(@Param("record") CreditCardBank record, @Param("example") CreditCardBankExample example);

    int updateByExample(@Param("record") CreditCardBank record, @Param("example") CreditCardBankExample example);

    int updateByPrimaryKeySelective(CreditCardBank record);

    int updateByPrimaryKey(CreditCardBank record);

    int truncateTable();
}